<%@ page contentType="text/html;charset=UTF-8" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<c:set var="ctx" value="${pageContext.request.contextPath}"/> 

<!DOCTYPE html>
<html lang="zh-cn">
<head>
<meta charset="utf-8">
<meta name="decorator" content="step" />
<script type="text/javascript">
var parentId = "${param.parentId}";
var shareUuid = "${param.shareUuid}";
</script>

</head>
<body>
<div class="doc-menu">
	 <%@ include file="/jsp/cd/doc/cdDocLeftZtree.jsp" %>	
</div>
<div class="doc-content mdl-130">
	<hr/>
	<div class="my-doc-breadcrumbs">
		<h6 class="text-primary Ordered List Item" id="pathAll">
			<span id="shareMyFile">全部文件</span>
			<span id="buildCrumbs">									
			</span>
		</h6>
	</div>
	<div class="my-doc-content">
		<div class="table-responsive">
			<table id="sample-table-1" class="table table-hover">
				<thead>
					<tr>
						<th class="center col-xs-1">
						<input type="hidden" id="restoreUuidAll">
							<label>
								<input type="checkbox" class="ace" id="checkBoxChanges" name="checkBoxChanges"/>
								<span class="lbl"></span>
							</label>
						</th>
						<th>文档名</th>
						<th>分享人</th>												
					</tr>
				</thead>
				
				<tbody id="shareMyList">
				
				</tbody>												
			</table>
		</div>
	</div>
</div>
<script type="text/javascript" src="${ctx}/jsp/cd/doc/shareMyList.js"></script>  

<!-- 列表显示模板 -->
<script id="showListMtp" type="x-tmpl-mustache">
	{{#data}}
	<tr class="clickTr" name="clickName">
		<td class="center col-xs-1">
			<label>
				<input type="checkbox"  name="changeCheckboxFile" class="ace selectCheck"  value="{{uuid}}"/>
				<span class="lbl"></span>
			</label>	
		</td>
		<td class="cdDocmousedown" id="{{uuid}}">              
			<a data_toggle="tab" name="changeFile"  class="folderCls" href="#" key="{{uuid}}" shareUuid="{{shareUuid}}" folderType="{{folderType}}">
				{{#isfolder}}
					<i class="icon-folder-close blue"></i>
				{{/isfolder}}
				{{^isfolder}}
					<i class="icon-book blue"></i>
				{{/isfolder}}
				{{folderName}}
			</a>	
			<div class="pull-right col-xs-2 action-buttons">
				{{^isfolder}}
					<a class="red pull-right btn-ace downupLoad" href="#" key="{{uuid}}" style="margin-top: -5px"><i class="icon-download-alt  bigger-80"></i></a>
				{{/isfolder}}
			</div>
		</td>
		<td>{{createEmp}}</td>
	</tr>
	{{/data}}
</script>

</body>